package com.tyk.bookstore.back.platform.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 系统设置
 */
@Schema(name = "SystemSettingDo", description = "系统设置")
@Data
@TableName("system_setting")
public class SystemSettingDo  implements Serializable{

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "ID")
    @TableId(value = "id")
    private Long id;

    @Schema(description = "变量名")
    @TableField("name")
    private String name;

    @Schema(description = "变量值")
    @TableField("value")
    private String value;

    @Schema(description = "描述")
    @TableField("description")
    private String description;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;
}
